@import "../_commont/reset.scss";
@import "../_mixin/mixin.scss";

.shopCartsDetail {
  .addCarts {
    width: 667px;
    padding: 40px;
    margin: 0 0 0 3px;
    background: #fcfcfc;
    > h1 {
      color: #333;
      font-weight: 700;
      font-size: 18px;
    }
    > p.des {
      color: #e3393c;
      margin-top: 10px;
      font-size: 14px;
    }
    > .price {
      background: url(../images/background/price-bg.jpg) no-repeat;
      background-size: 100% 100%;
      margin-top: 15px;
      font-size: 14px;
      padding: 20px 20px 10px;
      color: #999;
      > p {
        .del {
          color: #333;
          text-decoration: line-through;
        }
      }
      > p:last-of-type {
        margin-top: 5px;
        > span:first-of-type {
          color: #e3393c;
          font-size: 20px;
        }
        > span:last-of-type {
          color: #e3393c;
          font-size: 34px;
          font-weight: 700;
        }
      }
    }
    .m_4 {
      border-bottom: 1px #d1d1d1 dashed;
      padding: 10px 0;
      font-size: 14px;
      > div {
        > span {
          float: left;
          height: 25px;
          line-height: 25px;
          overflow: hidden;
          border: 1px #fbfbfb solid;
          margin-top: 5px;
          margin-right: 20px;
          color: #000;
          > span {
            color: #999;
          }
          &:first-of-type {
            > span:last-of-type {
              color: #e54649;
            }
          }
          &.comment {
            a {
              color: #e54649;
            }
            a:first-of-type {
              margin-right: 12px;
            }
          }
          &:last-of-type {
            > span:last-of-type {
              color: #78b300;
            }
          }
        }
      }
      > ul {
        margin-top: 10px;
        > li {
          float: left;
          padding: 0 15px;
          border-left: 1px solid #d7d7d7;
          cursor: pointer;
          font-size: 12px;
          &:first-of-type {
            padding-left: 0;
            border-left: 0;
          }
          > img {
            width: 20px;
            height: 20px;
            vertical-align: middle;
            margin-right: 3px;
          }
        }
      }
    }
    .myBuy {
      margin: 15px 0 10px 0;
      padding-bottom: 15px;
      border-bottom: 1px dashed #d7d7d7;
      > span {
        margin-top: 5px;
        color: #999;
        font-size: 14px;
      }
      > div {
        margin-left: 5px;
        line-height: 36px;
        > span {
          border: #b2b2b2 solid 1px;
          margin-right: 10px;
          > span {
            cursor: pointer;
            height: 32px;
            line-height: 32px;
            overflow: hidden;
            width: 15px;
            display: block;
            float: left;
            border: #fff solid 1px;
            background: #f3f3f3;
            text-align: center;
          }
          > input {
            font-size: 12px;
            width: 50px;
            height: 32px;
            float: left;
            text-align: center;
            border: #f3f3f3 solid 1px;
            background: #fff;
          }
        }
      }
    }
    > p.express {
      margin-top: 15px;
      color: #999;
      font-size: 13px;
    }
    > .addCartsBtn {
      margin-top: 30px;
      width: 190px;
      height: 56px;
      text-align: center;
      cursor: pointer;
      color: #fff;
      font-size: 20px;
      line-height: 56px;
      border-radius: 3px;
      background: #78b300;
    }
  }
}
.addCartPopBox {
  > .addCartMask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 6;
    background: rgba(0, 0, 0, 0.5);
  }
  > .addCartPopCon {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 550px;
    height: 200px;
    line-height: 200px;
    border-radius: 10px;
    background: #fff;
    border-color: #d3d3d3;
    box-shadow: 5px 5px 5px #888888;
    z-index: 7;
    > img {
      margin: 0 30px;
      vertical-align: middle;
    }
    > div {
      display: inline-block;
      vertical-align: middle;
      line-height: 1em;
      > p {
        font-size: 16px;
        margin-bottom: 18px;
      }
      > span,
      > a {
        display: inline-block;
        width: 100px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 14px;
        border-radius: 5px;
      }
      > .goOnShop {
        border: 1px solid #d2d2d2;
        color: #999;
      }
      > .toPay {
        background: #f03e3e;
        margin-left: 16px;
        color: #fff;
      }
    }
  }
}
.detailCon {
  > .hotRank {
    width: 200px;
    border: 1px solid #ddd;
    background-color: #fff;
    > h2 {
      padding-left: 12px;
      font-size: 14px;
      font-weight: 700;
      border-bottom: 2px solid #85bc56;
      height: 30px;
      line-height: 30px;
    }
    > ul {
      > li {
        padding: 10px 8px;
        border-bottom: 1px dashed #e3e3e3;
        > a {
          margin: 0 5px;
        }
        > p {
          font-weight: 700;
          color: #f60;
        }
      }
    }
  }
  > .detailRight {
    width: 980px;
    margin-bottom: 30px;
    > .detailTab {
      position: relative;
      top: 1px;
      > li {
        float: left;
        > a {
          display: block;
          color: #444;
          background: #f5f5f5;
          height: 35px;
          line-height: 35px;
          padding: 0 15px;
          border: 1px #ddd solid;
          border-bottom: 0;
          &:hover,
          &.active {
            background-color: #fff;
            color: #248dcc;
            border-top: 2px solid #85bc56;
            border-bottom: 1px #fff solid;
          }
        }
      }
    }
    > .detailCenter {
      padding: 20px 48px;
      border: 1px #ddd solid;
      background-color: #fff;
      > .countryIntro {
        line-height: 30px;
        height: 100px;
        padding-top: 30px;
        > .introLogo {
          > img {
            width: 120px;
            height: 60px;
            border: 1px solid #d7d7d7;
            margin-right: 15px;
          }
        }
        > .brandsHome {
          width: 380px;
          > p {
            > a {
              font-size: 14px;
              color: #444;
            }
            > .follow {
              display: inline-block;
              margin-left: 15px;
              background: url(../images/background/concern.png) no-repeat;
              width: 73px;
              height: 22px;
            }
          }
          > p:first-of-type {
            > a {
              vertical-align: middle;
            }
            > span {
              margin: 0 10px;
              vertical-align: middle;
            }
          }
          > p:last-of-type {
            > a {
              font-size: 14px;
              font-weight: 400;
              &::before {
                content: "";
                display: inline-block;
                width: 18px;
                height: 18px;
                vertical-align: middle;
                background: url(../images/xqico.png) no-repeat -58px -544px;
              }
            }
            > a:last-of-type {
              color: red;
              &::before {
                background-position: -90px -542px;
              }
            }
          }
        }
        > .originPlace {
          font-size: 14px;
          > p {
            > span {
              color: #999;
            }
          }
        }
      }
      > .imgdetail {
        text-align: center;
        > video {
          width: 790px;
          display: block;
          margin: 10px auto;
        }
        >div{
          font-size: 0;
        }
      }
    }
  }
}
